package cn.tedu.micro.order.repository.impl;

import cn.tedu.micro.common.pojo.po.OrderInfoPO;
import cn.tedu.micro.order.mapper.OrderMapper;
import cn.tedu.micro.order.repository.OrderRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class OrderRepositoryImpl implements OrderRepository {
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public void createOrder(OrderInfoPO orderInfoPO) {
        orderMapper.insert(orderInfoPO);
    }
}
